package com.wlyy.starter.mybatis.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
@ToString
public class IdOrgQuery implements Query {

    public IdOrgQuery() {
    }

    public IdOrgQuery(String id, String orgId) {
        this.id = id;
        this.orgId = orgId;
    }

    /**
     * 实体id
     */
    @NotBlank
    private String id;
    /**
     * 实体所属机构id
     */
    @NotBlank
    private String orgId;
}
